//
//  FilmTicketBookViewController.h
//  ELife
//
//  Created by  刘奇男 on 11-5-22.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "ELifeAppDelegate.h"
#import "Cinema.h"


@interface FilmTicketBookViewController : UIViewController <UITextFieldDelegate, UIPickerViewDelegate, UIPickerViewDataSource>{
    
    UITextField *cinemaTextField;
    UITextField *phoneNumberTextField;
    UITextField *ticketCountTextField;
    
    UIControl *choseCinema;
    UIPickerView *cinemaPicker;
    
    UIControl *backView;
        
    ELifeAppDelegate * app;
    NSMutableArray *cinemas;
    
    NSString* city;
    Cinema* chosenCinema;
}

@property (nonatomic, retain) Cinema* chosenCinema;
@property (nonatomic, retain) NSString* city;

@property (nonatomic, retain) IBOutlet UIControl *backView;

@property (nonatomic, retain) IBOutlet UITextField *cinemaTextField;
@property (nonatomic, retain) IBOutlet UITextField *ticketCountTextField;
@property (nonatomic, retain) IBOutlet UITextField *phoneNumberTextField;

@property (nonatomic, retain) IBOutlet UIControl *choseCinema;
@property (nonatomic, retain) IBOutlet UIPickerView *cinemaPicker;

- (IBAction) next:(id)sender;
- (IBAction) help:(id)sender;
- (IBAction) closeKeypad:(id)sender;

- (IBAction) choseCinema:(id)sender;
- (IBAction) hideChoseCinema:(id)sender;

@end
